<script setup>
import FanPrice from '..'
</script>

<template>
	<demo-block title="基础用法">
		<FanPrice style="margin-left: 15px" :value="9.99"></FanPrice>
	</demo-block>

	<demo-block title="分割小数位">
		<FanPrice style="margin-left: 15px" :value="9.99" :split="true"></FanPrice>
	</demo-block>

	<demo-block title="单位与位置">
		<FanPrice style="margin-left: 15px" :value="9.99" :symbol="false"></FanPrice>

		<FanPrice style="margin-left: 15px" :value="9.99" symbol="元" symbol-position="right"
			symbol-style="transform:translateY(-8%);"></FanPrice>

		<FanPrice style="margin-left: 15px" :value="9.99" color="orange" symbol="阿西吧" size="40" sub-size="14px"
			symbol-position="right" symbol-style="transform:translateY(-8%);"></FanPrice>
	</demo-block>
</template>
